package cn.ccit.iservers;

import java.util.List;

import cn.ccit.entites.Terminal;
import cn.ccit.entites.User;

public interface ITerminalServers  {
	
	public boolean addTerminal(Terminal term);//增加
	public boolean removeTerminal(Terminal term);//删除
	public boolean changeTerminalInfo(Terminal term);//修改
	public List<Terminal> getSomeTerminals(int start,int limit);//获取一定条数
	public Terminal searchTerminalByID(int id);//搜索通过id
	public List<Terminal> searchTerminalByName(String name);//通过门店名字
	public List<Terminal> searchTerminalByHostName(String hostName);//通过店主名字
	public Terminal searchTerminalByPhone(String phone);//通过手机号
}
